package yunquan.wang.base.dao;


public class PropertyFilter {
	public String fieldName;
	public Object value;
	public MatchType matchType;
	/**
	 * 属性和值，默认相等
	 * @param name
	 * @param value
	 */
	public PropertyFilter(String name,Object value)
	{
		this.fieldName=name;
		this.value=value;
		this.matchType=MatchType.EQ;
	}
	
	public PropertyFilter(String name,MatchType matchType,Object value)
	{
		this.fieldName=name;
		this.value=value;
		this.matchType=matchType;
	}
 
	
}
